package com.topboya.linker.ui.fragment;


import android.app.Fragment;
import android.app.FragmentManager;
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.FrameLayout;

import com.topboya.linker.R;


public class DepartmentFragment extends Fragment {

    private FrameLayout fl_childfragment;
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_depart_layer, container, false);
        fl_childfragment = view.findViewById(R.id.fl_childfragment);
        FragmentManager fragmentManager = getChildFragmentManager();
        FragmentTransaction transaction = fragmentManager.beginTransaction();
        transaction.replace(R.id.fl_slide, new DepartmentFragment());
        transaction.commit();
        return view;
    }



}
